using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.Reports
{
    public abstract class ReportItemBase
    {
        private string _Name;
        private int _Id;
        private RdlReportItemType _ItemType;
        private Single _Width;
        private Single _Height;
        private Single _Top;
        private Single _Left;
        private Single _PaddingBottom;
        private Single _PaddingLeft;
        private Single _PaddingTop;
        private Single _PaddingRight;

        #region properties
        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }
        public RdlReportItemType ItemType
        {
            get { return _ItemType; }
            set { _ItemType = value; }
        }
        public Single Width
        {
            get { return _Width; }
            set { _Width = value; }
        }
        public Single Height
        {
            get { return _Height; }
            set { _Height = value; }
        }
        public Single Top
        {
            get { return _Top; }
            set { _Top = value; }
        }
        public Single Left
        {
            get { return _Left; }
            set { _Left = value; }
        }
        public Single PaddingLeft
        {
            get { return _PaddingLeft; }
            set { _PaddingLeft = value; }
        }
        public Single PaddingTop
        {
            get { return _PaddingTop; }
            set { _PaddingTop = value; }
        }
        public Single PaddingRight
        {
            get { return _PaddingRight; }
            set { _PaddingRight = value; }
        }
        public Single PaddingBottom
        {
            get { return _PaddingBottom; }
            set { _PaddingBottom = value; }
        }
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this._Name = value;
            }
        }
        #endregion

        public ReportItemBase()
        {
            this._Name = "ReportItem";
            this._Id = 1;
            this._ItemType = RdlReportItemType.Table;
            this._Width = 0;
            this._Height = 0;
            this._Top = 0;
            this._Left = 0;
            this._PaddingBottom = 0;
            this._PaddingLeft = 0;
            this._PaddingRight = 0;
            this._PaddingTop = 0;
        }
    }
}
